
<div id="dataArea">
    <form role="form" method="post" action="{:U(ACTION_NAME)}">
        <!-- general form elements -->
        <div class="box-body" style="padding-bottom:0">

            <form role="form" method="post" action="{:U(ACTION_NAME)}">
                <if condition="ACTION_NAME eq 'edit'">
                    <input type="hidden" id="rid" name="rid" value="{$res.rid}">
                </if>
                <input type="hidden" name="admin" value="1"/>

                <div class="col-xs-12">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="rname">角色名称</label>
                                <input type="text" placeholder="" id="rname" name="rname" value="{$res.rname}" class="form-control">
                            </div>
                            <div class="form-group">
                                <label for="title">角色描述</label>
                                <textarea placeholder="" rows="3" id="title" name="title" class="form-control">{$res.title}</textarea>
                            </div>

                        </div><!-- /.box-body -->
                    </div><!-- /.box -->
                </div>
                <!-- /.col-md -->

            </form>

        </div><!-- /.box-body -->
    </form>
</div>